@import "../pulic/style.less";


/*
deal
*/

.deal-tab{
    width: 100%;
    height:0.40rem;
    position: fixed;
    top:0.45rem;
    .deal-flex{
        display: flex;

        line-height: 0.4rem;
        text-align: center;
        background-color: #fff;
        div{
            width: 50%;
            &.tab-active{
                color: @deal-tab-active-color;
            }
        }
    }
    .tab-bod{
        width: 50%;
        height: 2px;
        background-color: @deal-tab-border-color;
        position: absolute;
        bottom: 0;
    }
}
.deal-list{
    padding: 0 0.12rem;
    li{
        text-align: center;
        margin-top: 0.15rem;
    }
    .deal-top-time{
        display: inline-block;
        padding: 0.03rem 0.2rem;
        background-color: @deal-time-back;
        margin:0 auto 0.1rem;
        font-size: @font12;
        text-align: center;
        color:@deal-time-color;
        border-radius: 0.1rem;
    }
    .deal-li-content{
        text-align: left;
        background-color: @deal-li-background;
        border-radius: 0.05rem;
        .cont-title{
            padding-left: 0.3rem;
            height:0.35rem;
            line-height: 0.35rem;
            font-size:@font14;
            color:#000000;
            font-weight: bold;
            border-bottom: @deal-li-border-color;
            //display: inline-block;
            &.T1{
                background: url(/images/market/one.png) no-repeat;
                background-size: 0.2rem;
                background-position: 0.05rem 0.12rem;
            }
            &.T5{
                background: url(/images/market/five.png) no-repeat;
                background-size: 0.2rem;
                background-position: 0.05rem 0.12rem;
            }
            &.Mf{
                background: url(/images/market/mianf.png) no-repeat;
                background-size: 0.2rem;
                background-position: 0.05rem 0.12rem;
            }
        }
        .btn-sell{
            padding: 0.03rem 0.1rem;
            background-color: @deal-li-btn-back;
            color:#fff;
            border-radius: 0.03rem;
        }

        .deal-bongd{
            float: right;
            line-height: 0.35rem;
            padding-right: 0.15rem;

        }
        .cont-detail{
            padding-top: 0.1rem;
            padding-bottom: 0.1rem;
            padding-left: 0.3rem;
            padding-right: 0.15rem;
            display: flex;
            >div{
                width: 33.33%;
                &:last-child{
                    text-align: right;
                }
                p{
                    font-weight: bold;
                    font-size: @font16;
                    margin-bottom: 0.05rem;
                }
                span{
                    font-size: @font12;
                    color: @deal-li-greay-color;
                    &.origin{
                        color: @deal-li-color-origin;
                    }
                }
            }
        }
    }
    .red{
        color: @red-color;
    }
    .green{
        color: @green-color;
    }
}

.dialog{
    display: none;
    position: fixed;
    top:0;
    right:0;
    bottom: 0;
    left:0;
    z-index: 1999;
    background-color: rgba(0,0,0,0.4);
    .dialog-content{
        width: 80%;

        border-radius: 0.05rem;
        background-color: #fff;
        margin:1.5rem auto 0;
    }
    .dialog-head{
        text-align: center;
        padding: 0.1rem 0;
        color: #000;
    }
    .dialog-body{
        padding: 0 0.15rem 0.1rem;
        .txt{
            text-align: center;
            color: @deal-li-greay-color;
        }
        .txtyk{
            text-align: center;
        }
        .dialog-price{
            font-size: @font22;
            line-height: @font22;
            text-align: center;
            padding: 0.05rem;
        }
        .list-con{
            margin-top: 0.1rem;
            div{
                padding: 0.05rem 0;
                span:first-child{
                    color: @deal-li-greay-color;
                }
                span:last-child{
                    float: right;
                }
            }
        }

    }
    .dialog-foot{
        display: flex;
        text-align: center;
        border-top: @buy-deal-border;
        div{
            flex: 1;
            height: 0.4rem;
            line-height: 0.4rem;
            &:first-child{
                border-right: @buy-deal-border;
                color: @deal-li-btn-close-color;
            }
            &:last-child{
                color: #fff;
                background-color:@deal-li-btn-back;
            }
        }
    }
    .green{
        color: @green-color;
    }
    .red{
        color: @red-color;
    }
}


///deal_list-detail

.hold-detail-head{
    background-color: @deal-detail-head-back;
    color: #fff;

    .cooperate{
        font-size: @font12;
        padding: 0.05rem 0.12rem 0.05rem;
        border-bottom:@deal-detail-head-border;
    }
    .t1t5{
        text-align: center;
        padding-top: 0.22rem;
        font-size: @font10;
        span{
            padding: 0.01rem 0.03rem;
            border: 1px solid #fff;
            border-radius: 0.02rem;
        }
    }
    .detail-name{
        text-align: center;
        font-size: @font19;
        line-height: @font19;
        padding: 0.1rem 0 0.04rem;
    }
    .detail-num{
        text-align: center;
    }
    .allot{
        display: flex;
        padding: 0.1rem 0 0.15rem;
        div{
            width: 33.33%;
            text-align: center;
            &:nth-child(2){
                border-left: @deal-detail-head-border;
                border-right: @deal-detail-head-border;
            }
            h4{
                font-size: @font16;
            }
            span{
                font-size: @font12;
                color:#2d6996;
            }
        }
    }
}
.buysell-detail{
    background-color: #fff;
    padding: 0.15rem 0.12rem 0.1rem;
    .bs-detail{
        padding-top: 0.15rem;
        &:first-child{
            padding-bottom: 0.1rem;
            border-bottom: @deal-li-border-color;
        }
        div{
            padding-bottom: 0.1rem;
            span{
                color: #000000;
                &:first-child{
                    color: @deal-li-greay-color;
                }
                &.blur{
                    color: @deal-detail-blur;
                    font-size: @font16;
                }
            }
        }
        .green{
            color: @green-color;
        }
        .red{
            color: @red-color;
        }
    }

}
.detailBtn{
    padding: 0 0.12rem;
    display: none;
    button{
        width: 100%;
        height:0.45rem;
        margin-top: 0.15rem;
        font-size: @font16;
        .buy-green-btn()
    }
}